package cn.alpha.open.autocode.model;

public abstract class ClassModel implements TemplateModel {
	
	protected String tableName;
	protected String packageNamePrefix;
	protected String className;
	protected String superClass;
	protected String instanceName;
	
	@Override
	public String getPackageName() 
	{
		return packageNamePrefix;
	}
	
	@Override
	public String getFileName() {
		return className+".java";
	}
	
	public String getPackageNamePrefix() {
		return packageNamePrefix;
	}
	public void setPackageNamePrefix(String packageNamePrefix) {
		this.packageNamePrefix = packageNamePrefix;
	}
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	public String getSuperClass() {
		return superClass;
	}
	public void setSuperClass(String superClass) {
		this.superClass = superClass;
	}
	public String getInstanceName() {
		return instanceName;
	}
	public void setInstanceName(String instanceName) {
		this.instanceName = instanceName;
	}
	public String getTableName() {
		return tableName;
	}
	public void setTableName(String tableName) {
		this.tableName = tableName;
	}
	
}
